package demo02;

/**
 * @author Gotcha
 * @date 2021/6/15
 * @describe
 */
//SD卡实现类
public class SDCardImpl implements SDCard {
    @Override
    public String readSD() {
        String msg = "SD卡读取到一条消息 :hello word SD";
        return msg;
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("SD卡写入了一条消息 : " + msg);
    }
}
